package com.service.business.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.business.product.controller.rep.ProductHrComboDetailRep;
import com.service.business.product.controller.rep.ProductHrComboPageRep;
import com.service.core.rest.request.PageRequest;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.model.ProductHrCombo;

/**
 * 算力套餐表
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-10 22:06:11
 */
public interface ProductHrComboService extends IService<ProductHrCombo> {

    CommonPageRep<ProductHrComboPageRep> pageCombo(Integer coinsId, Integer comboType,PageRequest pageRequest);

    CommonPageRep<ProductHrComboPageRep> pagePopularCombo(PageRequest request);

    ProductHrComboDetailRep detail(Integer comboId);

    void updateProductStockNum(Integer productId, Integer sellNum);


}

